package com.wimcorp.magic.behaviour;

import javax.persistence.Entity;

@Entity
public class Flying extends Behaviour{

	private static Flying instance = new Flying();

	protected Flying() {
		
	}
	public static Flying instance() {
		return instance;
	}
	
	@Override
	public String toString() {
		String description = super.toString();
		if(description == null){
			description = "Flying - This creature can only be blocked by creatures with flying or reach.";
		}
		return description;
	}
	
	@Override
	public boolean equals(Object obj) {
		return obj instanceof Flying;
	}
	
}

